package com.tensquare.friend.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@Component
@FeignClient("tensquare-user")
public interface UserClient {
    @PutMapping("/user/{userId}/{friendId}/{num}")
    public void updateFanscountAndFollowcount(@PathVariable("userId") String userId,
                                              @PathVariable("friendId") String friendId,
                                              @PathVariable("num") int num);
}
